<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <script>

        // 算术运算符：加减乘除  模
        var a = 1 ;
        var b = 2 ;
        var c = a + b ;  // 把a加b的值赋值给c
        console.log(c) ;

        var d = a - b ;

        var e = a * b ;

        var f = a / b ;



        var m = 3 % 7 ;
        console.log(m) ;   // 小的数除以大的数  余数就是这个小数本身



        var x = (1 + 2) * 3 ;


    </script>
    
</body>
</html>